#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "Border.h"

Border::Border(VertexList * vertices)
:Object(NULL, vertices)
{
}
char * Border::GetTag()
{
	printf("Getting border tag\n");
	char * points = vertices->GetTag();
	char * tag = (char *)malloc(strlen(points)+21);
	sprintf(tag, "<border,%d,%s>", vertices->GetLength(),points);
	delete points;
	return tag;	
}
